package com.kgis.fm.access.term.service.impl;

import java.util.List;
import com.kgis.fm.access.common.service.impl.AbstractExecutiveAccessServiceImpl;
import com.kgis.fm.access.term.constant.MetaCacheKeyConst;
import com.kgis.fm.access.term.service.LegendAccessService;
import com.kgis.fm.model.term.Legend;
import com.kgis.kp.cache.Cacheable;

/**
*
* @author Simon He
* @date 2011.12
*/
public class LegendAccessServiceImpl extends AbstractExecutiveAccessServiceImpl<Legend> implements LegendAccessService{

	@Cacheable(MetaCacheKeyConst.LEGEND)
	public List<Legend> findAll() {
		List<Legend> all = super.findAll();
		return all;
	}

	public Legend findById(long id) {
		throw new RuntimeException("unaccessible function, please ");
	}
	
	public List<Legend> findByIds(long[] ids) {
		return null;
	}

}
